package com.cy.pj.modules.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 商家信息对象 fz_shop
 *
 * @author kiven
 * @date 2023-02-09
 */
@Data
public class Shop implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 店铺名称 */
    //@Excel(name = "店铺名称")
    private String name;

    /** 店铺位置 */
    //@Excel(name = "店铺位置")
    private String address;

    /** 分店负责人 */
    //@Excel(name = "分店负责人")
    private Long shopUserId;

    /** 总店ID */
    //@Excel(name = "总店ID")
    private Long parentId;

    /** 经度 */
    //@Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    //@Excel(name = "纬度")
    private String latitude;

    /** 联系电话 */
    //@Excel(name = "联系电话")
    private String mobile;

    /** 商品id */
    //@Excel(name = "商品id")
    private Long productId;

    /** $column.columnComment */
    //@Excel(name = "商品id")
    private Long createUser;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /** $column.columnComment */
    //@Excel(name = "商品id")
    private Integer flagDel;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "商品id", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** $column.columnComment */
    //@Excel(name = "商品id")
    private Long modifyUser;

}
